//
//  UIView+xib.h
//  test
//
//  Created by  on 2021/1/22.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN
IB_DESIGNABLE
@interface UIView (xib)
@property (nonatomic, assign) IBInspectable CGFloat borderWidth;
@property (nonatomic, strong) IBInspectable UIColor *borderColor;
@property (nonatomic, assign) IBInspectable CGFloat cornerRadius;
@property (nonatomic,assign) IBInspectable NSString *borderHexColor;

#pragma mark == HexColor
@property (nonatomic,assign)IBInspectable NSString *backGroudHexColor;
+(UINib*)nib;
+(NSString *)ID;
+(id)loadFromXIB;
-(void)loadView;
-(NSLayoutConstraint *)a1:(NSLayoutAttribute )a1 e:(NSLayoutRelation)e t:(UIView*)view a2:(NSLayoutAttribute )a2 c:(CGFloat)c;
@end

NS_ASSUME_NONNULL_END

